
public abstract class Personne
{
        public static int NB_PERS=0;
       
       
        int NumPers;
        String Nom="";
        String Prenom="";
        String NumTel="";
        String Mail="";
       
        public Personne(String nom, String prenom, String numTel, String mail)
        {
                NB_PERS++;
                NumPers=NB_PERS;
                Nom = nom;
                Prenom = prenom;
                NumTel = numTel;
                Mail = mail;
        }
    public Personne(int numPers,String nom, String prenom, String numTel, String mail)
        {
                NB_PERS++;
                NumPers=numPers;
                Nom = nom;
                Prenom = prenom;
                NumTel = numTel;
                Mail = mail;
        }

          public String toString()
          {
                  String s="";
                  s+=this.Nom;
                  s+=this.Prenom;
                 
                  return s;
          }
         
}

